package T01_test_all.test05_Student;

public class T05_Student {
    private String name;
    private  int age;

//    空参构造
    public T05_Student(){
        System.out.println("执行 空参构造");
    }

    public T05_Student(String name, int age){
        this.name = name;
        this.age = age;
    }

//    执行方法
    public void setName(String name){
        this.name = name;
    }
    public String getName(){
        return name;
    }
    public void setAge(int age){
        this.age = age;
    }
    public int getAge(){
        return age;
    }


//    带参构造




}
